import Vue from 'vue'
import Vuex from 'vuex'
import getters from './getters'
import film from './modules/film'
import city from './modules/city'
import cinema from './modules/cinema'
import global from './modules/global'

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    film,
    city,
    cinema,
    global,
  },
  getters
})

export default store
